<?php
/**
 * Concord CRM - https://www.concordcrm.com
 *
 * @version   1.3.4
 *
 * @link      Releases - https://www.concordcrm.com/releases
 * @link      Terms Of Service - https://www.concordcrm.com/terms
 *
 * @copyright Copyright (c) 2022-2023 KONKORD DIGITAL
 */

namespace Modules\Deals\Database\Seeders;

use Illuminate\Database\Seeder;

class LostReasonSeeder extends Seeder
{
    /**
     * @var array
     */
    public $reasons = [
        '客户沉默',
        '没有反应',
        '不接电话、不回复',
        '他们负担不起我们的服务',
        '没有预算',
        '和我们的竞争对手进行合作',
        '缺乏专业知识',
    ];

    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        foreach ($this->reasons as $reason) {
            \Modules\Deals\Models\LostReason::create(['name' => $reason]);
        }
    }
}
